﻿using System;

[AttributeUsage(AttributeTargets.Class)]
public class ConfiguableAttribute : Attribute
{
    public string excelSheetName { get; set; }

    public string fileName { get; set; }

    /// <summary>
    /// true：子类的属性排在前面
    /// false：子类的属性排在后面
    /// </summary>
    public bool subclassFieldFirst { get; set; } = false;

    public ConfiguableAttribute()
    {
    }

    public ConfiguableAttribute(string sheetName)
    {
        excelSheetName = sheetName;
    }
}